package com.ddwl.schema.vo.gate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * @Author hemiaojun
 * @Date 2020/9/23 9:06
 */
@ApiModel(description = "手机充值记录vo")
@Setter
@Getter
@NoArgsConstructor
public class MobileRechargeRecordVo {

    private String id;
    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("商品编号")
    private String itemId;

    @ApiModelProperty("面额")
    private Integer facePrice;

    @ApiModelProperty("售价")
    private BigDecimal price;

    @ApiModelProperty("系统流水号")
    private String serialno;

    @ApiModelProperty("状态：-1:订单关闭 0:创建订单成功 20:支付成功，充值中 30:支付失败 4:已受理 40:受理失败 2：成功，3:失败 5:退款中 6:退款成功 7:退款失败")
    private Integer status;

    @ApiModelProperty("业务编号")
    private String bizId;

    @ApiModelProperty("充值平台方订单号")
    private String ejId;

    @ApiModelProperty("充值返回描述")
    private String description;

    @ApiModelProperty("删除状态 0未删除 1已删除")
    private Integer dflag;

    @ApiModelProperty("创建时间")
    private Instant gmtCreated;

    @ApiModelProperty("修改时间")
    private Instant gmtModified;

    @ApiModelProperty(value = "支付类型（0微信支付，1支付宝支付）")
    private Integer payType;

    @ApiModelProperty(value = "系统平台方订单号")
    private String bizOrderId;

    @ApiModelProperty(value = "话费运营商编号（1移动；2联通；3电信；4其他）")
    private String carrierType;

    @ApiModelProperty(value = "系统地区编码")
    private String areaCode;

}
